﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using IFServerDLL.Model;
using HCY.CTP.DBShangZheng;
using IFClientDLL.Model;
using IFServerDLL.DB;

namespace IFClientDLL
{
    public interface IClient
    {
        AccountDemo Account { get; }
        List<OrderBase> OrderHistory { get; }
        List<OrderBase> OrderOnhand { get; }
        List<TradeBase> TradeHistory { get; }
        List<TradeOnHand> TradeOnHand { get; }
        List<TradeGroupBase> TradeGroup { get; }
        void OnGetOrder(OrderBase order);
        void OnGetTrade(TradeBase trade);
        event Action OrderChanged;
        event Action TradeChanged;
    }
}
